
#ifndef FAKEJTAG_H
#define FAKEJTAG_H

#include <QDialog>
#include "Config.h"

namespace Ui {
    class FakeJtag;
}

namespace etb{

class Emboard;

class FakeJtag : public QDialog
{
    Q_OBJECT

public:
    explicit FakeJtag(QWidget *parent = 0);
    ~FakeJtag();

public:
  void setEmboard(Emboard* emboard) { board_ = emboard; }

private:
    Ui::FakeJtag *ui;
    Emboard* board_;

private slots:
    void loadAct();
    void saveAct();
    void showCpuInfo();
    void programButton();
    void dumpButton();
    void stepRunButton();
    void stopButton();
    void setProgLayout();
public slots:
    void setJtagStatus(bool bLighten);
};
}
#endif // FAKEJTAG_H

